<h2 class="contentTitle">视频编辑</h2>
<div class="pageContent">
	<form method="post" action="<?php echo site_url('admin/video/edit_video_data_post/'.$tid);?>" class="pageForm required-validate" onsubmit="return validateCallback(this)">
		<div class="pageFormContent nowrap" layoutH="97">
 			<dl>
				<dt>新分类名称：</dt>
				<dd>
					<input type="text" name="newname" id="newname"  value="<?php echo $contents->name;?>" class="required"  />
				</dd>
			</dl>
			<dl>
				<dt>讲师：</dt>
				<dd>
					<input type="text" name="tutor" id="tutor"  value="<?php echo $contents->tutor;?>" class="" alt="请输入讲师"/>
				</dd>
			</dl>
			<dl>
				<dt>价格：</dt>
				<dd>
					<input type="text" class="number textInput valid" id="price"  value="<?php echo $contents->price;?>"  name="price" alt="0.00"/>
				</dd>
			</dl>
			<dl>
				<dt>简介：</dt>
				<dd>
					<input type="text" id="summary" rows="2" class=""  value="<?php echo $contents->summary;?>"  name="summary"/>
				</dd>
			</dl>
            <dl>
				<dt>详细介绍：</dt>
				<dd>
                <textarea class="editor" id="introduction" name="introduction" rows="15" cols="100"><?php echo $contents->introduction;?></textarea>
				</dd>
			</dl>
			<div class="divider"></div>
			<p>选择上一级分类的时候   只要选择前两个即可 最后一个分类只是显示当前第二级分类的子分类参考 选择第三级分类并不会被分配到第三分类下</p>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
	</form>
	
</div>
<script type="text/javascript">
function customvalidXxx(element){
	if ($(element).val() == "xxx") return false;
	return true;
}
</script>